
.twoLine {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
}
.oneLine {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  white-space: normal;
}
/*去掉Ios input 内阴影*/
input,textarea{
  -webkit-appearance: none;
}

.flex{
  display: flex;
}
.flex-row{
  display: flex;
  flex-direction: row;
}
.flex-col{
  display: flex;
  flex-direction: column;
}
.flex-grow-0{
  min-width: 0;
  flex-grow: 0;
  flex-shrink: 0;
}
.flex-grow-1{
  min-width:0;
  flex-grow: 1;
  flex-shrink: 1;
}
.flex-x-center{
  display: flex;
  justify-content: center;
}
.flex-y-center{
  display: flex;
  align-items: center;
}
.flex-list{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.flex-y-bottom{
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;

  -webkit-box-align: end;
  -webkit-align-items: flex-end;
  -ms-flex-align: end;
  /*-ms-grid-row-align: flex-end;*/
  align-items: flex-end;
}

.flex-right{
  display: flex;
  justify-content: flex-end;
}
.flex-left{
  display: flex;
  justify-content: flex-start;
}


.full_bg{
  position: fixed;
  width: 100%;
  height: 100%;
  z-index:4000;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background:rgba(0,0,0,.7);
}

.weui-mask {
  position: fixed;
  z-index: 4000;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, .7);
}

.weui-dialog {
  position: fixed;
  display: table;
  z-index: 5000;
  /*width: @dialog-width;*/
  /*max-width: @dialog-max-width;*/
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;

  /*background-color: @weuiDialogBackgroundColor;*/
  /*text-align: center;*/
  /*border-radius: 3px;*/
  /*overflow: hidden;*/
}

/* 产品列表 list b-b-1px*/
.xlhb-b-b-1px{
  position: relative;
}

.xlhb-b-b-1px:after{
  content: " ";
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 1px;
  border-bottom: 1px solid #e5e5e5;
  color: #e5e5e5;
  transform-origin: 0 100%;
  transform: scaleY(0.5);
}

.xlhb-b-b-1px-white{
  position: relative;
}

.xlhb-b-b-1px-white:after{
  content: " ";
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 1px;
  border-bottom: 1px solid #fff;
  color: #fff;
  transform-origin: 0 100%;
  transform: scaleY(0.5);
}

/*改变输入框placeholder的颜色值*/
::-webkit-input-placeholder {
  /* WebKit browsers */
  color: #ccc;
  line-height: 1.3em;
}


:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #ccc;
  line-height: 1.3em;
}

::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #ccc;

  line-height: 1.3em;
}

:-ms-input-placeholder {
  /* Internet Explorer 10+ */
  color: #ccc;
  line-height: 1.3em;

}

input:focus::-webkit-input-placeholder {
  color: #ccc;
  font-weight: normal;
}



.toast-box {
  position: fixed;
  left: 50%;
  top: 40%;
  padding:4px 0.2rem;
  min-width: 1rem;
  background: rgba(0, 0, 0, 0.7);
  text-align: center;
  color: #fff;
  font-size: 16px;
  z-index: 5000;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.toast-box.hide {
  display: none;
}

.toast-box.show {
  display: block;
}




